{include file="common/header" /}

    <!-- 轮播图 开始 -->
    <div id="myCarousel" class="carousel slide" data-ride="carousel">
        <ol class="carousel-indicators">
            {foreach $carousels as $k => $v}
            <li data-target="#myCarousel" data-slide-to="{$k}" {if $k==0}class="active"{/if}></li>
            {/foreach}
        </ol>
        <div class="carousel-inner">
            {foreach $carousels as $k => $v}
            <div class="item {if  $k == 0} active {/if}">
                <a href="{$v.link}"><img src="{$v.imagies}" alt="First slide"></a>
            </div>
            {/foreach}
        </div>
        <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
            <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
            <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
            <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
            <span class="sr-only">Next</span>
        </a>
    </div>
    <!-- 轮播图 结束 -->

    <!-- 公司介绍 开始 -->
    <section class="company">
        <div class="container">
            <div class="row">
                <div class="company-box">
                    <div class="column-inner">
                        <div class="column-containter">
                            <h1>公司介绍</h1>
                            <p><?php echo $config['COMPANY_INDRODUCE']; ?></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- 公司介绍 结束 -->

    <!-- 中间背景 开始 -->
    <section class="mid-bj">
        <div class="container">
            <div class="row">
                <div class="level">
                    <div class="col-md-4 level-1"><img src="/images/mid-1.png"></div>
                    <div class="col-md-4 level-1"><img src="/images/mid-2.png"></div>
                    <div class="col-md-4 level-1"><img src="/images/mid-3.png"></div>
                    <div class="clear"></div>
                </div>
            </div>
        </div>
    </section>
    <!-- 中间背景 结束 -->

    <!-- 案例精选 开始 -->
    <section class="case">
        <div class="container">
            <div class="row">
                <div class="case-box">
                    <div class="case-left">
                        <p>案例精选</p>
                        <span>Case selection</span>
                    </div>
                    <div class="case-right">
                        <a href="/frontend/cases" class="button-more">查看更多</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="container">
            <div class="row">
                <div class="case-box1">
                    {foreach $casies as $v}
                    <div class="col-xs-12 col-sm-6 col-md-3">
                        <div class="widget">
                            <a href="/frontend/cases/details?id={$v.id}" title="{$v.title}" target="_self" class="box-case" style="background: url({$v.imagies}); background-size: cover; background-position: center; background-repeat: no-repeat;">
                                <h4 class="widget-content">
                                    <p>{$v.title}</p>
                                </h4>
                            </a>
                        </div>
                    </div>
                    {/foreach}
                </div>
            </div>
        </div>
    </section>
    <!-- 案例精选 结束 -->

    <!-- 新闻咨询 开始 -->
    <section class="news">
        <div class="container">
            <div class="row">
                <div class="news-title">
                    <p>新闻资讯</p>
                    <span>NEWS</span>
                </div>
                <ul class="news-ul">
                    {foreach $news as $v}
                    <li class="col-lg-6 col-xs-12 news-box">
                        <div class="information">
                            <h4 class="information-heading">
                                <span class="news_time">{$v.updated_at|date='Y-m-d'}</span>
                                <a href="/frontend/news/details?id={$v.id}" title="{$v.title}" target="_self">{$v.title}</a>
                            </h4>
                            <p class="des"><?php echo slice_img($v['content']); ?></p>
                        </div>
                    </li>
                    {/foreach}
                    <div class="clear"></div>
                </ul>
            </div>
        </div>
    </section>
    <!-- 新闻咨询 结束 -->


{include file="common/footer" /}